package com.contactmgr.logObjects;

import java.util.Date;

public class CallDataLog {
	public enum TYPE {
		INCOMING, OUTGOING, MISSED
	};

	private String number;
	private TYPE type;
	private String name;
	private String date;
	private int duration;

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public TYPE getType() {
		return type;
	}

	public void setType(TYPE type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	@Override
	public String toString() {
		return "CallDataLog :\nnumber=" + number + "\ntype=" + type + "\nname=" + name + "\ndate=" + date + "\nduration=" + duration;
	}

}
